<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="user/header.html"}>
	<title>学员中心-德安信会计在线教育平台</title>
</head>
<body>
	<div class="wrap">
		<!--star left-->
		<div class="column">
			<{include file="user/left_menu.html"}>
		</div>
		<div id="ContMianBox">
			<!--star子栏目-->
			<div class="sub-colum">
				<div class="tit">班级管理</div>
				<ul>
					<li><a href="/user/classes">我的班级</a></li>
					<li class="curr" ><a href="/user/class_time">我的课程表</a></li>
					<li><a href="/user/classes/volume_list/3">我的作业</a></li>
					<li><a href="/user/classes/volume_list/4">我的考试</a></li>
				</ul>
			</div>
			<!--end子栏目-->
			<!--end left-->
			<div class="container narrow">
				<!--star conter-->
				<div class="cetContent">
					<div class="tit p-lr20">
						<span class="curr"><{$action}></span>
					</div>
					<!--star内容区域-->
					<div class="mainScroll">
						<div class="mainContainer line-all">
							<!--star tabMainCont-->
							<fieldset class="layui-elem-field">
									<legend>筛选</legend>
									<div class="layui-field-box">
										<form class="layui-form layui-form-pane1" action="/user/classes">
											<div class="layui-form-item">
												<div class="layui-inline">
													<label class="layui-form-label">班级名</label>
													<div class="layui-input-inline" style="width: 200px;">
														<input type="text" name="sn" placeholder="班级名" autocomplete="off" class="layui-input">
													</div>

												</div>
												<div class="layui-inline">
													<button type="submit" class="layui-btn">搜索</button>
												</div>
											</div>
											
										</form>
									</div>
								</fieldset>
							<!--商品列表 star-->
							<div class="goods_list p-t10">
									<div class="mtc_tab">
										<!--star mt-->
										<div class="mt">
											<span class="l fs16">状态：</span>
											<a href="javascript:;" class="curr">全部</a>
											<a href="javascript:;">上课中</a>
											<a href="javascript:;">已结业</a>

										</div>
										<!--end mt-->
										<!--star mc-->
										<div class="mc">

											<div class="u_table_list m-t20">
												<!--star 商品-->
												<div class="table002">
													<table>
														<colgroup>
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
															<col width="%">
														</colgroup>
														<tbody>
															<tr>
																<th>班级名称</th>
																<th>主题</th>
																<th>老师</th>
																<th>教室</th>
																<th>上课时间</th>
																<th>状态</th>
															</tr>
														</tbody>
														<tbody>
															<{foreach from=$plan_list item=item}>
																<tr>

																	<td class="not_lb tal">
																		<span class="c-057edb">
																			<{$item['class_name']}>
																		</span>
																	</td>
																	<td class="not_lb tal">
																		<span ><{$item['title']}></span>
																	</td>
																	<td class="not_lb tal">
																		<span class=""><{$item['teacher_name']}></span>

																	</td>
																	<td class="not_lb tal">
																		<span ><{$item['class_room_name']}></span>
																	</td>
																	<td class="not_lb tal">
																		<{$item[ 'class_time']|date_format: '%Y-%m-%d %H:%M:%S'}>
																	</td>
																	<td class="not_lb tal">
																		<{if $item['status'] == 0}>
																		未上课
																		<{elseif $item['status'] == 1}>
																		已上课
																		<{/if}>
																	</td>
																</tr>
																<{/foreach}>
														</tbody>
													</table>
												</div>
												<!--end 商品-->
											</div>
											<div class="pages p-tb20 hide" style="text-align:right;">
												<div class="l">
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
													<a href="javascript:;" class="zent-btn">未知按钮</a>
												</div>
												<ul>
													<li><a>上一页</a></li>
													<li><a>1</a></li>
													<li class="active"><a>2</a></li>
													<li><a>3</a></li>
													<li><a>4</a></li>
													<li>...</li>
													<li><a>100</a></li>
													<li><a>下一页</a></li>
												</ul>
												<form>
													共100页到第
													<input type="text" value="1" class="inputwh"> 页
												</form>
											</div>
										</div>
										<!--end mc-->
									</div>

								</div>
							<!--商品列表 end -->
						</div>
						<!--end tabMainCont-->
					</div>
				</div>
			</div>
			<!--end内容区域-->
			
		</div>
		
		<script>
			layui.use('laydate', function(){
			  var laydate = layui.laydate;

			  var start = {
			    min: '2016-11-31 23:59:59'
			    ,max: laydate.now(+1)
			    ,istoday: false
			    ,choose: function(datas){
			      end.min = datas; //开始日选好后，重置结束日的最小日期
			      end.start = datas //将结束日的初始值设定为开始日
			    }
			  };

			  var end = {
			    min: '2016-11-31 23:59:59'
			    ,max: laydate.now(+1)
			    ,istoday: false
			    ,choose: function(datas){
			      start.max = datas; //结束日选好后，重置开始日的最大日期
			    }
			  };

			  document.getElementById('LAY_demorange_s').onclick = function(){
			    start.elem = this;
			    laydate(start);
			  }
			  document.getElementById('LAY_demorange_e').onclick = function(){
			    end.elem = this
			    laydate(end);
			  }

			});
		</script>
	</div>
</body>
</html>
